import { IFeidaoAiBrowserComponent } from '@feidao/web/interfaces';
import show from '../atom/show';
import hide from '../atom/hide';

import fire_component_msg from '@feidao/web/atom/browser/fsm/fire-component-msg';

export default async function a002(fd: IFeidaoAiBrowserComponent, ...args: any[]) {
	//baocun
	const f = fd.data.node.querySelector<HTMLInputElement>('[data-feidao-id="fieldtitle"]').value;
		
	
	   
		if (!f) {
					fire_component_msg('zj-common-002', 'ec-001', 'fail', '请填写项目名称');
							
		}else{
			fire_component_msg('zj-common-002', 'ec-001', 'success', '成功');
		}
   
    







}
